﻿namespace FrameworkCore.Interfaces;

/// <summary>
/// ID生成器服务接口
/// </summary>
public interface IGenerateIdService
{
    /// <summary>
    /// 生成唯一的字符串ID
    /// </summary>
    /// <returns>ID</returns>
    string GenerateIdAsString();

    /// <summary>
    /// 生成唯一的长整型ID
    /// </summary>
    /// <returns>ID</returns>
    long GenerateIdAsLong();
}
